//封装本地存储数据与读取数据方法

//存储数据
export const SET_TOKEN = (token: string) => {
  localStorage.setItem("token", token);
};

//本地获取数据
export const GET_TOKEN = () => localStorage.getItem("token");
